import request from '@/util/request'

// 更换手机前需要验证旧手机号验证码
export function tranPhonePast(query) {
	return request({
	    url: '/user/v1/tranphone/',
	    method: 'GET',
      params: query
	})
}
// 更换手机
export function tranPhoneNew(query) {
	return request({
	    url: '/user/v1/tranphone/',
	    method: 'POST',
      data: query
	})
}
